package com.ruoyi.combat.service.apprisk.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.combat.mapper.apprisk.CombatPhoneAppMapper;
import com.ruoyi.combat.domain.apprisk.CombatPhoneApp;
import com.ruoyi.combat.service.apprisk.ICombatPhoneAppService;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-08-21
 */
@Service
public class CombatPhoneAppServiceImpl implements ICombatPhoneAppService 
{
    @Autowired
    private CombatPhoneAppMapper combatPhoneAppMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param phoneAppId 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public CombatPhoneApp selectCombatPhoneAppByPhoneAppId(Long phoneAppId)
    {
        return combatPhoneAppMapper.selectCombatPhoneAppByPhoneAppId(phoneAppId);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param combatPhoneApp 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<CombatPhoneApp> selectCombatPhoneAppList(CombatPhoneApp combatPhoneApp)
    {
        return combatPhoneAppMapper.selectCombatPhoneAppList(combatPhoneApp);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param combatPhoneApp 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertCombatPhoneApp(CombatPhoneApp combatPhoneApp)
    {
        return combatPhoneAppMapper.insertCombatPhoneApp(combatPhoneApp);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param combatPhoneApp 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateCombatPhoneApp(CombatPhoneApp combatPhoneApp)
    {
        return combatPhoneAppMapper.updateCombatPhoneApp(combatPhoneApp);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param phoneAppIds 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteCombatPhoneAppByPhoneAppIds(Long[] phoneAppIds)
    {
        return combatPhoneAppMapper.deleteCombatPhoneAppByPhoneAppIds(phoneAppIds);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param phoneAppId 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteCombatPhoneAppByPhoneAppId(Long phoneAppId)
    {
        return combatPhoneAppMapper.deleteCombatPhoneAppByPhoneAppId(phoneAppId);
    }
}
